This is a simple viewer that I wrote as a way of learning the basics of QuickDraw 3D. My plan was to integrate this into a HyperCard XCMD.
WHAT IT DOES
It opens a 3DMF file and displays the contents of it with the 3D viewer that is built-in to QuickDraw 3D.
WHAT IT NEEDS
As this application uses QuickDraw 3D, it will only run on a PowerMac with QuickDraw 3D installed. This is a CodeWarrior 7 project. To compile the application, you will need the QuickDraw 3D libraries. These are freely available from Apple.
WHAT IT IS NOT
This is far from a full-featured application. There are many basic features missing, including:
• Support for multiple windows
• Edit menu functions (Cut, Copy, Paste) which should be easy to implement
• Options for changing the renderer and basic settings
• Support for the required AppleEvents
KNOWN PROBLEM
Right now, the application puts up the about dialog box when the program is launched because if it tries to open a viewer before displaying this dialog box, the 3D model will not appear! I have no idea why this is.
WHY I DID THIS
This should be viewed as a learning exercise. Hopefully, it can be be educational to somebody else. I know I learned a lot by doing it.
WHO I AM
My name is Theron Trowbride, and I work at Philips designing video games for a living. Programming is a hobby, not my job. I do this sort of thing on my free time.
Although I control the copyright on the application and source code IN THEIR UNMODIFIED FORM, use is mostly unrestricted.
You are invited and encouraged to use any or all of this source code in your own project.
If you use this project as a basis for another application, replace my name and about box artwork with your own. Please include mention of my name as the creator of the original. And please send me a copy. I claim no rights to any derivative work.
This project and application may be included on any CD-ROM collection, but please let me know it is being included. A copy of the CD-ROM would be nice, too.